package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.AddTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {
    /**
     * 根据课程id查询教师信息
     * @param id
     * @return
     */
    List<CourseTeacher> getTeacherListByCourseId(Long id);

    CourseTeacher saveOrUpdateTeacher(AddTeacherDto teacherDto, Long companyId);

    /**
     * 删除教师
     * @param courseId
     * @param teacherId
     * @param companyId
     */
    void deleteTeacher(Long courseId, Long teacherId, Long companyId);
}
